package com.shang.collector.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName IndexController
 * @Description TODO
 * @Author Larry
 * @Date 2020/12/29 15:01
 * @Version 1.0
 */
@Slf4j
@RestController
public class IndexController {

    @RequestMapping(value = "/index")
    public String index(){

        log.info("---------info日志-----");
        log.warn("---------warn日志-----");
        log.error("---------error日志-----");

        return "index";
    }
}
